import request from '@/utils/request'

// 查询办证申请表审批一级列表
export function listFuzerenCertOne(query) {
  return request({
    url: '/certificate/fuzerenCertOne/list',
    method: 'get',
    params: query
  })
}

// 查询办证申请表审批一级详细
export function getFuzerenCertOne(id) {
  return request({
    url: '/certificate/fuzerenCertOne/' + id,
    method: 'get'
  })
}

// 新增办证申请表审批一级
export function addFuzerenCertOne(data) {
  return request({
    url: '/certificate/fuzerenCertOne',
    method: 'post',
    data: data
  })
}

// 修改办证申请表审批一级
export function updateFuzerenCertOne(data) {
  return request({
    url: '/certificate/fuzerenCertOne',
    method: 'put',
    data: data
  })
}

// 删除办证申请表审批一级
export function delFuzerenCertOne(id) {
  return request({
    url: '/certificate/fuzerenCertOne/' + id,
    method: 'delete'
  })
}


// 安全管理人员负责人审批一
export function fuzerenOneApprovalSubmit(CertCertificate) {
  return request({
    url: '/certificate/fuzerenCertOne/fuzerenOneApprovalSubmit',
    method: 'post',
    data: CertCertificate
  })
}